<div class="moduleTips">
    <img alt="moduleTips" src="http://juke.ipropre.com/public/uploads/moduleTips.png">
    <span>【小提示】:</span> 您好，请按照如下步骤操作，即可完成模块的创建。<?php print_r($tmpcounts);?>
</div>

<!--
<div id="step01" class="step">
	<h3 class="step_hd">第一步：选择模块宽度</h3>
    <div class="step_bd" style="display:block;">
        <span class="w190 radius" title="w190">190宽度</span>
        <span class="w750 radius" title="w750">750宽度</span>
        <span class="w950 radius" title="w950">950宽度</span>
    </div>
</div>
-->

<div id="step01" class="step">
	<h3 class="step_hd">第一步：选择模块样式</h3>
    <div class="step_bd style_box" style="display:block;">
        <ol class="clearFix">
        	<?php foreach($filesarray as $key=>$val) : $_mid = substr($val,4,3); ?>
            <li class="block w<?php echo substr($val,0,3);?>">
            	<img src="<?php echo base_url("modules/imgs_wangwang").'/'.$val;?>" alt="thumb" class="thumb" />
                <div class="hf">
                    <div class="np">
                    <?php echo '旺旺客服'.$_mid;?> 
                    (<a href="<?php echo base_url("modules/original").'/wangwang_'.$val;?>" title="预览模块效果" class="yulan">预览效果</a>)
                    </div>
                    <p>
                    <input type="radio" name="style<?php echo $key;?>" value="190_<?php echo $_mid;?>" checked="checked" class="sb" />190 
                    <input type="button" name="style_btn" class="style_btn" value="选用该模块" />
                    </p>
                </div>
            </li>
            <?php endforeach;?>
        </ol>
        
    </div>
</div>



<div id="step02" class="step">
	<h3 class="step_hd">第二步：设置并保存模块效果</h3>
    <div class="step_bd">
        <p class="btns">
        	<input type="button" value="返回上一步" class="backto_step01" />
        </p>
        <iframe id="previewIframe" src="<?php //echo base_url('index.php/home/template');?>" width="100%" height="800"></iframe>
        <br />
        
    </div>
</div>

<input type="hidden" value="wangwang" id="moduleType" />

